Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

RiCal date conversion methods use DateTIme#utc_time which is an ActiveSupport extentsion

#27

RiCal's datetime #to_time conversion method uses DateTIme#utc_time, which is an ActiveSupport DateTime extension.

This is only a problem if ActiveSupport isn't declared as a required dependency

Reported by Matt Patterson · December 20th, 2009 @ 04:24 AM

State: invalid
Milestone: none
Assigned to: Rick DeNatale Rick DeNatale

Activity

  1. Rick DeNatale
    Rick DeNatale

    This actually appears to be in code which isn't actually used by ri_cal.

    I've removed the definitions of both DateTime#to_time, and Date#to_time in the cases where ActiveSupport isn't loaded, and all specs still pass.

    Note that ri_cal doesn't declare activesupport or tzinfo as a gem dependency since it will work with either, and rubygems don't allow alternate dependencies to be declared.

    December 20th, 2009 @ 10:02 AM

  2. Matt Patterson
    Matt Patterson

    Great. Sorry I didn't have time to investigate more thoroughly and file a better ticket...

    December 20th, 2009 @ 02:30 PM

  3. Rick DeNatale
    Rick DeNatale
    • State changed from new to invalid

    April 16th, 2010 @ 06:19 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.